<?php 
namespace Phpcmf\Controllers;


class Fabu extends \Phpcmf\Home\Module
{
    
    public function fabuid() {
        //九格图
        $data = \Phpcmf\Service::M()->db->table('field')->where('name', '九格图')->where('fieldname', 'jiugetu')->where('relatedname', 'mform-quan')->where('fieldtype', 'Filesjiugetu')->get()->getRowArray();
        
        $dataid=[
            'jiugetu'=> $data['id'], //九格图
        ];
        
        $rt=[
			'code'=>1,
		    'msg'=>'发布id',
			'data'=>$dataid,
		];
		return $this->_json($rt['code'], $rt['msg'], $rt['data']);
        
    }
    
	
}